import request from "@/utils/request";
import defaultSettings from "@/settings";

// 111 大额客户发起录入与修改
export function addTxn(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseEntry/HvpsCustomerCreditTransferEntry/save`,
    method: "post",
    data,
  });
}

export function updTxn(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseModify/HvpsBepsCreditModify/save111`,
    method: "post",
    data,
  });
  n;
}

// 111 大额客户发起录入与修改
export function addTxn112(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseEntry/HvpsFinancialCreditTransferEntry/save`,
    method: "post",
    data,
  });
}

export function updTxn112(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseModify/HvpsBepsCreditModify/save112`,
    method: "post",
    data,
  });
  n;
}

// 115大额延迟结算录入
export function addHvps115(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHvpsAndBepsDelayedSettle/HvpsAndBepsDelayedSettleEntry/save`,
    method: "post",
    data,
  });
}
export function updataHvps115(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseModify/HvpsBepsCreditModify/save115`,
    method: "post",
    data,
  });
}

// 116大额延迟结算划回录入
export function addHvps116(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHvpsAndBepsDelayedSettle/HvpsAndBepsDelayedSettleTransferBackEntry/save`,
    method: "post",
    data,
  });
}
export function updataHvps116(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseModify/HvpsBepsCreditModify/save116`,
    method: "post",
    data,
  });
}

// 118大额延迟结算退回录入
export function addHvps118(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseHvpsAndBepsDelayedSettle/HvpsAndBepsDelayPayReturnEntry/save`,
    method: "post",
    data,
  });
}
export function updataHvps118(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseModify/HvpsBepsCreditModify/save118`,
    method: "post",
    data,
  });
}
